<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <script type="text/javascript" src="${ctx}/appjs/ticket/detialSendRecord.js"></script>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>运营管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>查看详情</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });


    var has_add = 'hidden';
    var has_edit = 'hidden';
    var has_delete = 'hidden';
</script>

<%--<div shiro:hasPermission="sys:menu:add">--%>
<script type="text/javascript">
    has_add = '';
</script>
<%--</div>--%>
<%--<div shiro:hasPermission="sys:user:edit">--%>
<script type="text/javascript">
    has_edit = '';
</script>
<%--</div>--%>
<%--<div shiro:hasPermission="sys:user:remove">--%>
<script type="text/javascript">
    var has_delete = '';
</script>
<%--</div>--%>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="row">
                    <input id="ticketSendRecordId" name="ticketSendRecordId" value="${ticketSendRecordId}"
                           type="hidden">
                    <div class="pull-left search col-md-2">
                        <input id="nickname" name="nickname" type="text" class="form-control"
                               placeholder="昵称">
                        <input id="beginTime" name="beginTime" type="text" class="form-control"
                               placeholder="赠送开始时间">
                    </div>
                    <div class="pull-left search col-md-2">
                        <input id="mobile" name="mobile" type="text" class="form-control"
                               placeholder="手机号">
                        <input id="endTime" name="endTime" type="text" class="form-control"
                               placeholder="赠送结束时间">
                    </div>
                    <div class="pull-left search col-md-2">
                        <select id="status" name="status" class="form-control">
                            <option value="-1">使用状态</option>
                            <option value="0">未使用</option>
                            <option value="1">已使用</option>
                            <option value="2">已失效</option>
                        </select>
                    </div>
                    <div class="pull-left search col-md-2">
                        <button class="btn btn-success" onclick="detialSendRecord.reLoad()">查询</button>
                    </div>
                    <table id="exampleTable" data-mobile-responsive="true">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script type="text/javascript">
    layui.use('laydate', function () {
        var laydate = layui.laydate;
        var beginTime = laydate.render({
            elem: '#beginTime',
            type: 'datetime',
            format: 'yyyy-MM-dd HH:mm:ss',
            trigger: 'click',

        });
        var endTime = laydate.render({
            elem: '#endTime',
            type: 'datetime',
            format: 'yyyy-MM-dd HH:mm:ss',
            trigger: 'click'
        });

    });
    detialSendRecord.init();
</script>
</body>
</html>